package com.wangxinenpu.springbootdemo.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangxinenpu.springbootdemo.dataobject.dto.organization.OrganizationDto;
import com.wangxinenpu.springbootdemo.dataobject.model.Organization;

import java.util.List;

/**
 * <p>
 * 组织表 服务类
 * </p>
 *
 * @author =
 * @since 2024-06-14
 */
public interface OrganizationService extends IService < Organization > {

	R < Page < Organization > > pageList ( OrganizationDto dto );

	R < Boolean > delete ( List < String > ids );

	R < Organization > savaOrUpdate ( OrganizationDto dto );

	R < List < Organization > > getList ();

	R< Organization> detail(String id);
}
